package com.yuandian.bpm.bi.modules.quartz.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 定时任务状态枚举 0:暂停 1:启动(运行中..) 2:结束
 */
@Getter
@AllArgsConstructor
public enum TaskStateEnum {

	SUSPEND(0, "暂停"),

	RUNNING(1, "启动(运行中..)"),

	ENDED(2, "结束"),

	;

	/**
	 * 类型
	 */
	private final int code;

	/**
	 * 描述
	 */
	private final String description;
}
